/*
  (C) 2007 - Boston University
  Contact: Michael Ocean 

	this file was adapted from a CS511 submission

  This work is a part of the larger snBench project.  Information
  can be found at: http://csr.bu.edu/snbench 

  This program is free software; you can redistribute it and/or
  modify it under the terms of Version 2 of the GNU General Public 
  License.
  
  This library is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  General Public License for more details.
  
  You should have received a copy of the GNU Library General Public
  License along with this library; if not, write to the Free
  Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
package stepide;

/**
	Overview: A utility class for displaying errors
*/
public class ErrorManager
{
	private ErrorManager() {}

	/**
		Effects: Writes the specified error to the console along with the error stack trace
	*/
	public static void LogError(Exception ex)
	{
		System.out.println(ex.getMessage());
		System.err.println(ex.getMessage());	
		ex.printStackTrace();
	}

}